package spring.lottery.dao.dataObject;

import jakarta.validation.constraints.DecimalMax;
import jakarta.validation.constraints.NotNull;
import lombok.*;

import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@NotNull
public class PrizeDO extends BaseDo{
    private String name;

    private String description;

    private BigDecimal price;

    private String imageUrl;


    @Override
    public String toString() {
        return "PrizeDO{" +
                "id='" + getId() + '\'' +
                "GmtCreate='" + getGmtCreate() + '\'' +
                "GmtModified='" + getGmtModified() + '\'' +
                "name='" + name + '\'' +
                ", description='" + description + '\'' +
                ", price=" + price +
                ", imageUrl='" + imageUrl + '\'' +
                '}';
    }
}
